<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Report
 *
 * @author peerawatj20
 */
class Report extends MY_Controller {

    public function index() {
        $this->load->library('Pdf');

        $pdf = new Pdf('P', 'mm', 'A4', true, 'UTF-8', false);
        $pdf->AddPage();
        $pdf->writeHTML('<table border="1"><tr><td></td></tr></table>');
        $pdf->Output('html.pdf', 'I');
    }

}
